package cn.haohaowo.service;

import cn.haohaowo.dao.OrderDetailDao;
import cn.haohaowo.entity.OrderDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by luwancai on 18/5/19.
 * DESC:
 */

@Service
public class OrderDetailService {

    @Autowired
    private OrderDetailDao orderDetailDao;

    public void saveOrderDetail(OrderDetail detail) {

        orderDetailDao.insertOrderDetail(detail);

    }
}
